package com.behelpful.demo.search.model.test;

import lombok.Data;

/**
 * 地址位置参数模型
 *
 * @author Alay
 * @date 2020-11-16 13:50
 */
@Data
public class GeoModel extends GeoPoint {
	/**
	 * 距离(米)
	 */
	private Long distance;

	public GeoModel distance(Long distance) {
		this.distance = distance;
		return this;
	}
	public GeoModel lat(Double lat) {
		super.lat = lat;
		return this;
	}

	public GeoModel lon(Double lon) {
		this.lon = lon;
		return this;
	}
}